const { override, fixBabelImports,addLessLoader } = require('customize-cra')
module.exports = override(
//针对antd实现按需打包  
     fixBabelImports('import', {
       libraryName: 'antd-mobile',
       style: 'css',
     }),
     addLessLoader({
      javascriptEnabled:true,
       modifyVars:{'@primary-color':'#1DA57A'}
     })
   );